.TH isopen 3  "January 19, 2009" "version 4.0.002" "LPJmL programmers manual"
.SH NAME
isopen \- Determines whether output file is open
.SH SYNOPSIS
.nf
\fB#include "lpj.h"

Bool isopen(const Outputfile *\fIoutput\fB,int \fIindex\fB);

.fi
.SH DESCRIPTION
Function determines whether output data file has been successfully opened.
The arguments of \fBisopen\fP are:
.TP
.I output
Pointer to initialized output data. \fIoutput\fP must be initialized by \fBfopenoutput()\fP.
.TP
.I index
Index of output data file to be checked.
.SH RETURN VALUE
Function returns TRUE if output for \fIindex\fP has been opened, FALSE otherwise.

.SH AUTHORS

For authors and contributors see AUTHORS file

.SH COPYRIGHT

(C) Potsdam Institute for Climate Impact Research (PIK), see COPYRIGHT file

.SH SEE ALSO
fopenoutput(3), fcloseoutput(3)
